<template>
	<ul class="custom_select_list" :class="{'on' : isShow}">
		<li v-for="item of list" @click="selectValueHandle($event, item)">{{item}}</li>
	</ul>
</template>

<script>
	export default {
		name: "CustomSelect",
		props:["list", "isShow"],
		data: function(){
			return{
				
			}
		},
		methods:{
			selectValueHandle(e, dom){
				this.$emit('receive', dom)
			}
		}
	}
</script>

<style lang="less">
	@base:23.44/1rem;
	.custom_select_list{
		display:none;
		&.on{
			display:block;
		}
	}
</style>
